package com.zhang.authoritycenter.common.model.dto.authority;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
public class SystemMenuDragReqDTO implements Serializable {

	private List<Long> idList;
	/**
	 * 要移动的菜单资源id
	 */
	@NotNull(message = "拖拽的菜单资源id不能为空")
	private Long id;
	/**
	 * 拖拽的目标菜单id
	 */
	private Long pid;

	/**
	 * 拖拽后的排序值
	 */
	private Integer sort;
}